package cn.damai.struts.demo.action;

import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Namespace;
import org.apache.struts2.convention.annotation.ParentPackage;
import org.apache.struts2.convention.annotation.Result;

/**
 * @Desc
 * @Author huangjunwei
 * @Date 2016/3/2 14:17
 */
//@ParentPackage("demo-default")
//@Namespace("/demo")
public class UserAction extends BaseAction {

    //@Action(value = "main",results = {@Result(name="success",type="httl",location="main.httl")})
    public String main() {
        return SUCCESS;
    }
}
